package com.sunshuo.springsecuritydemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ResourceController
 * @Description TODO
 * @Author sunshuo
 */
@RestController
@RequestMapping("/resource")
public class ResourceController {

    @RequestMapping("/res_1")
    public String resource_1() {
        return "资源1";
    }

    @RequestMapping("/res_2")
    public String resource_2() {
        return "资源2";
    }

    @RequestMapping("/res_3")
    public String resource_3() {
        return "资源3";
    }

}
